<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>embedme: libemb/inc/Timer.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_574d9269cd334a9d02d8928365303d98.html">libemb</a></li><li class="navelem"><a class="el" href="dir_207aad82934689048a9003fb51f06f7f.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#enum-members">枚举</a>  </div>
  <div class="headertitle">
<div class="title">Timer.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_rtc_facade_8h_source.html">RtcFacade.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_event_8h_source.html">Event.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_thread_8h_source.html">Thread.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_mutex_8h_source.html">Mutex.h</a>&quot;</code><br />
<code>#include &lt;list&gt;</code><br />
</div>
<p><a href="_timer_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timer.html">Timer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">定时器基类(基于事件消息的定时器)  <a href="class_timer.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_periodic_timer.html">PeriodicTimer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">周期定时器类  <a href="class_periodic_timer.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_one_shot_timer.html">OneShotTimer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">一次性定时器类  <a href="class_one_shot_timer.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timer_manager.html">TimerManager</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">定时器管理类  <a href="class_timer_manager.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_timer_protocol.html">CTimerProtocol</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">CTimer定时回调接口  <a href="class_c_timer_protocol.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_timer.html">CTimer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">独占定时器类(基于C回调函数的定时器,每个定时器独占一个线程)  <a href="class_c_timer.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:abf553156083a5221eb0c6a08c9fa7ebe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abf553156083a5221eb0c6a08c9fa7ebe"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ctimer_selector</b>(SELECTOR)&#160;&#160;&#160;(SEL_onctimer)(&amp;SELECTOR)</td></tr>
<tr class="separator:abf553156083a5221eb0c6a08c9fa7ebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:ae16d9e020d027937c9bea509a8527885"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae16d9e020d027937c9bea509a8527885"></a>
typedef void(CTimerProtocol::*&#160;</td><td class="memItemRight" valign="bottom"><b>SEL_onctimer</b> )()</td></tr>
<tr class="separator:ae16d9e020d027937c9bea509a8527885"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a532756dd2bffbfa9591cbccbd8aacb34"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a532756dd2bffbfa9591cbccbd8aacb34"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>TIMER_TYPE_E</b> { <b>TIMER_TYPE_PERIODIC</b>, 
<b>TIMER_TYPE_ONESHOT</b>
 }</td></tr>
<tr class="separator:a532756dd2bffbfa9591cbccbd8aacb34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d0afe9fed86d4dfc7832b271c5868cd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5d0afe9fed86d4dfc7832b271c5868cd"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>TIME_UNIT_E</b> { <br />
&#160;&#160;<b>TIME_UNIT_MILLISECOND</b>, 
<b>TIME_UNIT_SECOND</b>, 
<b>TIME_UNIT_MINUTE</b>, 
<b>TIME_UNIT_HOUR</b>, 
<br />
&#160;&#160;<b>TIME_UNIT_DAY</b>
<br />
 }</td></tr>
<tr class="separator:a5d0afe9fed86d4dfc7832b271c5868cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2016年 七月 7日 星期四 19:49:38 , 为 embedme使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
